package com.rou.im.boot.starter.server.netty;

import io.netty.channel.socket.ServerSocketChannel;
import io.netty.channel.socket.nio.NioServerSocketChannel;

/**
 * <p></p>
 *
 * @author GaoShuangWen
 * @since 2020-05-03 23:43
 */

public class ServerSocketChannelSelector {

    Class<? extends ServerSocketChannel> selector(String ioType){
        if("nio".equals(ioType)){
            return NioServerSocketChannel.class;
        }else {
           return ServerSocketChannel.class;
        }
    }


}
